package gin_http

import (
	"gitee.com/captials-team/ubdframe/src/common/consts"
	"github.com/gin-gonic/gin"
)

// OperateLogController 操作日志控制器
type OperateLogController struct {
}

// CustomizeLog 指定记录操作日志
func (ctr *OperateLogController) CustomizeLog(ctx *gin.Context, log string) {
	ctx.Set(consts.OperateLogContextKey, log)
}
